-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[main] adds target namsepace metadata support #2132
Conversation
The following is the coverage report on the affected files.
|
pkg/apis/operator/v1alpha1/common.go
Outdated
@@ -72,14 +73,25 @@ type TektonComponentStatus interface { | |||
type CommonSpec struct { | |||
// TargetNamespace is where resources will be installed | |||
// +optional | |||
TargetNamespace string `json:"targetNamespace,omitempty"` | |||
TargetNamespace string `json:"targetNamespace,omitempty"` | |||
TargetNamespaceMetadata *NamespaceMetadata `json:"targetNamespaceMetadata,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my only concern is this field is getting used in all component crd also, like optional component, and if some different data provided in both crs, how we will handle that? is not better to move this out of common spec as it is specific to config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@piyush-garg this metadata should goes in to the specific targetNamespace
, If we have different namespace in different CR/Component, targetNamespaceMetadata
is applicable to the targetNamespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@piyush-garg I removed the namespace
meta support from common.
Now it is only applicable to TektonConfig
CR.
Signed-off-by: Jeeva Kandasamy <[email protected]>
The following is the coverage report on the affected files.
|
/retest-required |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: piyush-garg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/hold Reviewing PR |
/hold cancel |
LGTM |
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make test lint
before submitting a PRSee the contribution guide for more details.
Release Notes